package org.mikhaylov.cp.service.db.entities;

import java.io.Serializable;
import java.util.Set;

public class Inventory implements Serializable, Entity {

	private static final long serialVersionUID = 9009091653783795475L;

	private long id;

	private String name;

	private String description;

	private InventoryType inventoryType;

	private Double price;

	private User user;

	private Set<Take> takes;

	public Inventory() {

	}

	public Set<Take> getTakes() {
		return takes;
	}

	public void setTakes(Set<Take> takes) {
		this.takes = takes;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public InventoryType getInventoryType() {
		return inventoryType;
	}

	public void setInventoryType(InventoryType inventoryType) {
		this.inventoryType = inventoryType;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

}
